#ifndef  _PRINTF_H_
#define  _PRINTF_H_

#ifdef _cplusplus
extern "c"{
#endif

/*---------------------------------------------------*/
/* The purpose of this routine is to output data the */
/* same as the standard printf function without the  */
/* overhead most run-time libraries involve. Usually */
/* the printf brings in many kilobytes of code and   */
/* that is unacceptable in most embedded systems.    */
/*---------------------------------------------------*/

typedef char* charptr;
typedef int (*func_ptr)(int c);

void Printf( const charptr ctrl1, ...);

#ifdef _cplusplus
}
#endif

#endif             

